<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->


<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://xmlns.jcp.org/jsf/core">
    <h:head>
        <title>Menú principal</title>
    </h:head>
    <h:body> 
        <center>
        <h:form>  
             

            <p:growl id="messages" showDetail="false"/>

            <h3 style="margin-top:0">ADMINISTRACION DE LA BIBLIOTECA</h3>
            <p:menu>
                <p:submenu label="ADMINISTRACION LIBROS">
                    <p:menuitem value="AGREGAR" url="AgregarLibro.xhtml" update="messages" ajax="false" icon="ui-icon-close"/>
                    <p:menuitem value="ELIMINAR" url="EliminarLibro.xhtml" update="messages" ajax="false" icon="ui-icon-close"/>
                    <p:menuitem value="CONSULTA LIBROS" url="ListaLibros.xhtml" update="messages" icon="ui-icon-extlink"/>
                    
                    
                </p:submenu>
            
                <p:submenu label="ADMINISTRACION REVISTAS">
                    <p:menuitem value="AGREGAR " url="AgregarRevista.xhtml" update="messages" icon="ui-icon-star" />
                    <p:menuitem value="ELIMINAR" url="EliminarRevista.xhtml" update="messages"  ajax="false" icon="ui-icon-close"/>
                    <p:menuitem value="CONSULTA REVISTA" url="ListaRevistas.xhtml" update="messages" icon="ui-icon-extlink"/>
                   
                </p:submenu>


            </p:menu>
        </h:form>
        </center>
    </h:body>
</html>